<ul id="menu" class="list-group">
	<li class="list-group-item">
		<a href="#" data-toggle="collapse" data-target="#strategy_detail">
			<span>攻略管理</span>
		</a>
		<ul class="in" id="strategy_detail">
			<li class="strategy"><a href="/strategy/list.do">大攻略管理</a></li>
            <li class="strategyCatalog"><a href="/strategyCatalog/list.do">攻略分类管理</a></li>
            <li class="strategyDetail"><a href="/strategyDetail/list.do">攻略文章管理</a></li>
            <li class="strategyComment"><a href="/strategyComment/list.do">攻略评论管理</a></li>
            <li class="strategyTravel"><a href="/travel/hot.do">大家都在看</a></li>
		</ul>
	</li>
	<li class="list-group-item">
		<a href="#" data-toggle="collapse" data-target="#travel_detail">
			<span>游记管理</span>
		</a>
		<ul class="in" id="travel_detail">
			<li class="release"><a href="/travelRelease/list.do">已发布游记管理</a></li>
            <li class="audit_list"><a href="/travel/audit_list.do">待审核游记</a></li>
            <li class="travelCommend"><a href="/travelCommend/list.do">游记推荐设置</a></li>
		</ul>
	</li>
	<li class="list-group-item">
		<a href="#" data-toggle="collapse" data-target="#system_detail">
			<span>平台管理</span>
		</a>
		<ul class="in" id="system_detail">
			<li class="user"><a href="/user/list.do">注册用户管理</a></li>
            <li class="region"><a href="/region/list.do">旅游地区管理</a></li>
            <li class="daily"><a href="/daily/list.do">日报管理</a></li>
		</ul>
	</li>
	<li class="list-group-item">
		<a href="#" data-toggle="collapse" data-target="#wish_detail">
			<span>心愿管理</span>
		</a>
		<ul class="in" id="wish_detail">
			<li class="wish"><a href="/wish/list.do">心愿管理</a></li>
		</ul>
	</li>
</ul>
<script type="text/javascript">
    var url = location.pathname;
    url = url.substring(1);
    var indexE = url.indexOf("/");
    var currentMenu = url.substring(0, indexE);
    $(".in li."+currentMenu).addClass("active");
</script>